.over-hidden {
  overflow: hidden;
}
.bg-white {
  background: #fff;
}
.bg-action {
  background: #E9EAEA;
}
.bg-stage {
  background: #f7f7f7;
  /* background: #EFEFEF; */
}
.bg-fail {
  background: #e60012;
}
.bg-fail-x {
  background: #f19c81;
}
.bg-fail-s {
  background: #ea6d54;
}
.bg-fail-m {
  background: #d54628;
}
.bg-fail-l {
  background: #910000;
}
.bg-waiting {
  background: #d7d7d7;
}
.bg-success {
  background: #36ae37;
}
.bg-success-x {
  background: #c9e09d;
}
.bg-success-s {
  background: #86c686;
}
.bg-success-m {
  background: #58b558;
}
.bg-success-l {
  background: #006f2f;
}
.bg-running {
  background: #f8b62b;
}
.border-record {
  /*border: 1px solid #d7d7d7;*/
}
.bord-action {
  border: 2px solid #f7ab00;
}
.mar-t-twenty {
  margin-top: 20px;
}
.pad-twelve {
  padding: 12px;
}
.pad-ten {
  padding: 10px;
}
.pad-lr-ten {
  padding-left: 10px;
  padding-right: 10px;
}
.pad-lt-ten {
  padding-left: 10px;
}
.marg-no {
  margin: 0;
}
.marg-bt-five {
  margin-bottom: 5px;
}
.float-lt {
  float: left;
}
.dispB {
  display: block;
}
.dispN {
  display: none;
}

#history a {
  text-decoration: none;
}
#history li {
  list-style: none;
}
#historyList {
  font-size: 12px;
  width: 100%;
}
#historyList .item {
  margin-bottom: 10px;
}

 #historyList .title {
  background: #217ca6;
  color: #fff;
  height: 40px;
  padding: 10px;
  font-size: 16px;
  position: relative;
} 
 #historyList .title img {
  width: auto;
  height: 100%;
  margin-right: 8px;
}
 
#historyList .title .extend {
  position: absolute;
  right: 2px;
  top: 15%;
  height: 70%;
}
#historyList .version-tab {
  background: #fff;
  padding: 15px 10px;
}
#historyList .version-tab .nav-tabs {
  border-bottom: 2px solid #217ca6;
  line-height: 30px;
  height: 30px;
}
#historyList .version-nav a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 10px;
  border-radius: 3px 3px 0 0;
  background: #E9EAEA;
  color: #989999;
}
#historyList .version-nav a.active {
  color: #fff;
  background: #217ca6;
  line-height: inherit;
}

#historyList .summary {
  border-bottom: 1px solid #E9EAEA;
  margin: 15px auto;
  line-height: normal;
}
#historyList .summary .space {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 3px;
}
#historyList .item-record {
  overflow: hidden;
}
#historyList .time,
#startedRecords .time {
  margin-right: 20px;
  width: 60px;
  margin-top: 10px;
  text-align: center;
  float: left;
  position: relative;
  font-size: 12px;
}
#historyList .year, 
#startedRecords .year {
  position: absolute;
  top: -12px;
  left: -10px;
  z-index: 10000;
  width: 24px;
  max-height: 24px;
}
#historyList .date,
#historyList .hour,
#startedRecords .date,
#startedRecords .hour {
  width: 100%;
  height: 20px;
  line-height: 20px;
  display: block;
}
#historyList .date,
#startedRecords .date {
  background: #E9EAEA;
  border: 1px solid #E9EAEA;
  border-radius: 3px 3px 0 0;
}
#historyList .hour,
#startedRecords .hour {
  border-radius: 0 0 3px 3px;
  border: 1px solid #E9EAEA;
}
#historyList .stages {
  padding: 5px 10px;
  width: calc(100% - 80px);
  width: -webkit-calc(100% - 80px);
  overflow: auto;
  float: left;
}
#historyList .item-stage {
  display: inline-block;
  margin-right: 5px;
  vertical-align: top;
}
#historyList .stage-name,
#historyMap .stage-name {
  height: 4px;
  width: 100%;
  margin-bottom: 4px;
}
#historyList .actions {
  margin: 0;
  position: relative;
}
#historyList .action-name {
  display: inline-block;
  height: 20px;
  margin: 0 1px 0 0;
  cursor: pointer;
}
#historyList .action-name .start-status {
  position: absolute;
  right: 1px;
  top: 2px;
  height: 16px;
}

#historyList .no-start {
  width: 30px;
}
#historyList .start {
  width: 52px;
}
.addRecords {
  height: 35px;
  line-height: 35px;
  margin-top: 10px;
  width: 100%;
  text-align: center;
  float: right;
  cursor: pointer;
}
#historyMap {
  overflow: hidden;
  background: #fff;
  font-size: 14px;
}
#historyMap .filter {
  float: left;
  position: relative;
  margin-top: 18px;
}
#historyMap .filter .keywords {
  width: 200px;
  padding: 5px 36px 5px 8px;
  outline: none;
}
#historyMap .filter .search {
  position: absolute;
  right: 1px;
  top: 1px;
  font-size: 16px;
  padding: 6px 6px 7px;
  background: #d7d7d7;
  cursor: pointer;
}
#historyMap .maps {
  float: right;
  padding: 10px 3px;
  margin: 0;
}
#historyMap .maps li {
  float: left;
  border-left: 1px solid #ddd;
  padding: 0 12px;
}
#historyMap .maps li:first-child {
  border-left: none;
}
#historyMap .maps .time-map {
  position: relative;
  padding-right: 30px;
  margin-right: 10px;
}
#historyMap .maps .time-rt {
  position: absolute;
  right: 0;
  bottom: 0;
}
#historyMap .action-name {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin: 0 1px 0 0;
}
#historyMap .stage-map .action-name {
  width: 18px;
  height: 18px;
}
#historyMap .stage-name {
  background: #000;
  margin-top: 0;
}
#historyMap .stage-map .map-lt {
  text-align: center;
}
#historyMap {
  font-size: 12px;
}
#historyMap .map-lt,
#historyMap .map-rt {
  display: inline-block;
  vertical-align: middle;
}
#historyMap .status-map .map-lt,
#historyMap .time-map .map-lt {
  vertical-align: bottom;
}
#historyMap .map-lt {
  margin-right: 5px;
}
#historyMap img {
  width: 45px;
  height: auto;
  max-height: 50px;
  margin-bottom: 2px;
}
#historyMap .stage-map img {
  width: 25px;
}
#historyMap .status-map img {
  width: 20px;
}
#historyMap .time-map img {
  width: 40px;
}
#historyMap .status-map .map-lt {
  text-align: right;
}
#historyPages {
  text-align: center;
  margin-top: 50px;
}
#historyPages .pages {
  overflow: hidden;
  display: inline-block;
}
#historyPages .pages li {
  float: left;
  margin-right: 10px;
  width: 30px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border: 1px solid #d7d7d7;
  cursor: pointer;
}
.page-active {
  background: #d7d7d7;
  color: #fff;
}
/*.shade {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1px;
  right: 0;
  background: #000;
  opacity: 0.85;
  z-index: 10001;
}*/
#startedRecords {
  background: #d7d7d7;
  left: 50px;
  right: 50px;
  top: 160px;
  padding: 4rem;
  position: absolute;
  z-index: 10002;
  border-radius: 8px;
}
#startedRecords .close {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 3rem;
  text-shadow: 0 1px 10px #fff;
  opacity: 0.5;
  filter: alpha(opacity=50);
}
#startedRecords .close:hover,#startedRecords .close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.9;
  filter: alpha(opacity=90);
}
#startedRecords .breadcrumbs {
  margin-bottom: 3rem;
  font-size: 18px;
  border-bottom: 2px solid #217CA6;
  padding-left: 1rem;
  color: #fff;
  /* color: #217CA6; */
}
#startedRecords .item-record {
  overflow: hidden;
}
#startedRecords .workflow-name {
  width: 120px;
  margin-top: 17px;
  float: left;
  overflow: hidden;
}

#startedRecords .stages {
  padding: 10px 10px 5px;
  width: calc(100% - 200px);
  width: -webkit-calc(100% - 200px);
  float: left;
  min-height: 55px;
  overflow: auto;
}

#startedRecords .item-stage {
  display: inline-block;
  margin-right: 5px;
  vertical-align: top;
}

#startedRecords .stage-name,
#historyMap .stage-name {
  height: 2px;
  width: 100%;
  margin-bottom: 4px;
}

#startedRecords .actions {
  margin: 0;
}

#startedRecords .action-name,
#startedRecords .extra-action {
  display: inline-block;
  height: 20px;
  margin: 0 1px 0 0;
  position: relative;
}

#startedRecords .action-name {
  cursor: pointer;
}

#startedRecords .extra-action {
  height: 20px;
}

#startedRecords .action-name .start-status {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 15px;
}

#startedRecords .extra-icon {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

#startedRecords .no-start {
  width: 30px;
}

#startedRecords .start {
  width: 52px;
}

/* vi change */
#history { padding:15px;background-color: #fff;}
#historyList .title {
  background: #F7F7F7;
  color: #7c7c7c;
  height: 50px;
  line-height: 30px;
  padding: 10px;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  border-bottom: 2px solid #d9d9d9;
}
#historyList .title .extend {
  top: 30%;
  right: 13px;
  width: 20px;
  height: 20px;
  line-height: 16px;
}
#historyList .title img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
#historyList .title img.extend-icon  {
  width: 20px;
  height: 20px;
  margin-right: 0;
}
#historyList .version-tab .nav-tabs {
  border-bottom: 2px solid #DEDEDE;
}
#historyList .version-nav a,#historyList .version-nav a.active {
  background: #DEDEDE;
  color: #7c7c7c;
}
#historyList .summary {
  border-bottom: 1px solid #E9EAEA;
  margin: -1em -1em 2em -1em;
  line-height: normal;
}
#historyList .stages {
  padding: 5px 20px;
  min-height: 55px;
}

#historyList .tab-content > .tab-pane{
  padding: 30px;
}

#startedRecords{
  background: rgba(0,0,0,.85);
  border: 2px solid #cccaca;
  box-shadow: 0 0 20px 0 rgba(0,0,0,.8);
  margin-bottom:6rem;
}
.record-info {
  background:#fff;
  padding:8px 8px 8px 20px;
  border-radius: 4px;
  margin-bottom: 10px;
}
/* vi change end */